import request from '@/untils/request'


export const getList = (params) => {
  return request({
    url: 'getPurchase',
    method: 'GET',
    params
  })
}

export const BuyOrder = (params) => {
  return request({
    url: 'updatePurchase',
    method: 'GET',
    params
  })
}

export const BuyOrder2 = (params) => {
    return request({
      url: 'updatePurchaseOrder',
      method: 'GET',
      params  
    })
  }